import instance from '@/http'

export const register = (data: { account: string, password: string}) => instance.post('/api/register', data)

export const login = (data: { account: string, password: string}) => instance.post('/api/login', data)